package com.wit.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Subcompany entity. @author MyEclipse Persistence Tools
 */

public class Subcompany implements java.io.Serializable {

	// Fields

	private String subcommpanyId;
	private Subcompany subcompany;
	private Company company;
	private String sshortName;
	private String sfullName;
	private String saddress;
	private String schief;
	private String spostcode;
	private String stelephone;
	private String sfax;
	private String semail;
	private Double spound;
	private Double scommrate;
	private String smemo;
	private Set subcompanies = new HashSet(0);
	private Set insurancedefs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Subcompany() {
	}

	/** minimal constructor */
	public Subcompany(String subcommpanyId) {
		this.subcommpanyId = subcommpanyId;
	}

	/** full constructor */
	public Subcompany(String subcommpanyId, Subcompany subcompany,
			Company company, String sshortName, String sfullName,
			String saddress, String schief, String spostcode,
			String stelephone, String sfax, String semail, Double spound,
			Double scommrate, String smemo, Set subcompanies, Set insurancedefs) {
		this.subcommpanyId = subcommpanyId;
		this.subcompany = subcompany;
		this.company = company;
		this.sshortName = sshortName;
		this.sfullName = sfullName;
		this.saddress = saddress;
		this.schief = schief;
		this.spostcode = spostcode;
		this.stelephone = stelephone;
		this.sfax = sfax;
		this.semail = semail;
		this.spound = spound;
		this.scommrate = scommrate;
		this.smemo = smemo;
		this.subcompanies = subcompanies;
		this.insurancedefs = insurancedefs;
	}

	// Property accessors

	public String getSubcommpanyId() {
		return this.subcommpanyId;
	}

	public void setSubcommpanyId(String subcommpanyId) {
		this.subcommpanyId = subcommpanyId;
	}

	public Subcompany getSubcompany() {
		return this.subcompany;
	}

	public void setSubcompany(Subcompany subcompany) {
		this.subcompany = subcompany;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public String getSshortName() {
		return this.sshortName;
	}

	public void setSshortName(String sshortName) {
		this.sshortName = sshortName;
	}

	public String getSfullName() {
		return this.sfullName;
	}

	public void setSfullName(String sfullName) {
		this.sfullName = sfullName;
	}

	public String getSaddress() {
		return this.saddress;
	}

	public void setSaddress(String saddress) {
		this.saddress = saddress;
	}

	public String getSchief() {
		return this.schief;
	}

	public void setSchief(String schief) {
		this.schief = schief;
	}

	public String getSpostcode() {
		return this.spostcode;
	}

	public void setSpostcode(String spostcode) {
		this.spostcode = spostcode;
	}

	public String getStelephone() {
		return this.stelephone;
	}

	public void setStelephone(String stelephone) {
		this.stelephone = stelephone;
	}

	public String getSfax() {
		return this.sfax;
	}

	public void setSfax(String sfax) {
		this.sfax = sfax;
	}

	public String getSemail() {
		return this.semail;
	}

	public void setSemail(String semail) {
		this.semail = semail;
	}

	public Double getSpound() {
		return this.spound;
	}

	public void setSpound(Double spound) {
		this.spound = spound;
	}

	public Double getScommrate() {
		return this.scommrate;
	}

	public void setScommrate(Double scommrate) {
		this.scommrate = scommrate;
	}

	public String getSmemo() {
		return this.smemo;
	}

	public void setSmemo(String smemo) {
		this.smemo = smemo;
	}

	public Set getSubcompanies() {
		return this.subcompanies;
	}

	public void setSubcompanies(Set subcompanies) {
		this.subcompanies = subcompanies;
	}

	public Set getInsurancedefs() {
		return this.insurancedefs;
	}

	public void setInsurancedefs(Set insurancedefs) {
		this.insurancedefs = insurancedefs;
	}

}